/**
 * 分享下载模态框样式
 */
.share-download-modal {
  .ant-modal-content {
    padding: 0;

    .ant-modal-header {
      margin: 0;
      padding: 16px 24px;
      border-bottom: 1px solid #f0f0f0;
    }

    .ant-modal-body {
      padding: 0;
    }

    .ant-modal-footer {
      margin: 0;
      padding: 16px 24px;
      border-top: 1px solid #f0f0f0;
    }
  }

  .ant-table {
    .ant-table-thead {
      > tr > th {
        background: #fafafa;
        font-weight: normal;
        padding: 12px 16px;

        &::before {
          display: none;
        }
      }
    }

    .ant-table-tbody {
      > tr > td {
        padding: 12px 16px;
      }
    }
  }

  .file-name-header {
    display: flex;
    align-items: center;
    gap: 8px;

    .ant-checkbox-wrapper {
      margin-right: 8px;
    }

    .selected-count {
      color: #999;
      margin-left: 16px;
      font-size: 12px;
    }
  }

  .file-name-cell {
    display: flex;
    align-items: center;
    gap: 8px;

    .ant-checkbox-wrapper {
      margin-right: 8px;
    }

    .file-name-content {
      display: flex;
      align-items: center;
      gap: 8px;
      flex: 1;

      .file-name-text {
        color: #333;
      }
    }
  }

  .column-title {
    color: #666;
    font-weight: normal;
  }

  .download-btn {
    padding: 0;
    height: auto;
    color: #1890ff;

    &:hover {
      color: #40a9ff;
    }

    &:disabled {
      color: rgba(0, 0, 0, 0.25);
    }
  }
}
